package com.vote.common.service.impl;

import com.vote.common.entity.VoteMenu;
import com.vote.common.mapper.VoteMenuMapper;
import com.vote.common.service.VoteMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单表 服务实现类
 * </p>
 *
 * @author gyg
 * @since 2021-05-21
 */
@Service
public class VoteMenuServiceImpl extends ServiceImpl<VoteMenuMapper, VoteMenu> implements VoteMenuService {

    @Override
    public List<VoteMenu> queryAllMenus(String type) {
        return baseMapper.queryAllMenus(type);
    }
}
